Skip to content

osc/rdma: set state_region->base for non accelerated btl#10462

Merged
awlauria merged 1 commit intoopen-mpi:mainfrom
wzamazon:efa_fix_osc_rdma_region_base
Jun 10, 2022
Merged

osc/rdma: set state_region->base for non accelerated btl#10462
awlauria merged 1 commit intoopen-mpi:mainfrom
wzamazon:efa_fix_osc_rdma_region_base

Conversation

@wzamazon
Copy link
Copy Markdown
Contributor

@wzamazon wzamazon commented Jun 9, 2022

In allocate_state_shared(), state_region->base is used to
calculate peer->state when CPU atomics is not used.

Currently it is set only if accelerated btl is used,
but it is used for non-accelerated btl too, causing peer->state
to be set incorrectly.

This patch addressed the issue.

Signed-off-by: Wei Zhang wzam@amazon.com

In allocate_state_shared(), state_region->base is used to
calculate peer->state when CPU atomics is not used.

Currently it is set only if accelerated btl is used,
but it is used for non-accelerated btl too, causing peer->state
to be set incorrectly.

This patch addressed the issue.

Signed-off-by: Wei Zhang <wzam@amazon.com>
@awlauria awlauria merged commit 2befd74 into open-mpi:main Jun 10, 2022
@awlauria
Copy link
Copy Markdown
Contributor

@wzamazon can you bring this back to v5.0.x?

@wzamazon
Copy link
Copy Markdown
Contributor Author

@awlauria

Sure. will do

@wzamazon
Copy link
Copy Markdown
Contributor Author

backport PR #10465

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants